
import java.io.IOException;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan("com.team.union")
@MapperScan("com.team.union.mapper")
public class SpringbootApplication {
	public static void main(String[] args) throws IOException {
		// 项目启动
		SpringApplication.run(SpringbootApplication.class, args);
	}
}
